package com.yzd.learnjava.iniialization;

public class DefaultConstructor {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Bird bird = new Bird();
		
		//Bird2 bird0 = new Bird2(); // no default construtor
		Bird2 bird2 = new Bird2(3);
		Bird2 bird3 = new Bird2(3.0d);
	}

}

class Bird{}

class Bird2{
	Bird2(int i){}
	Bird2(double d){}
}
